'''
Created on Sep 1, 2012

@author: LongDT
'''
from FeatureExtract import unigramExtract

print " Create POS text file"

unigramPOS = unigramExtract.UnigramExtract("../../data/trainNew.csv")
# LEMMATIZED 

#unigramPOS.createLematizedTrainfile("../../data/trainLematizedWords.txt")
#unigramPOS.createLematizedTestfile("../../data/testLematizedWords.txt")
#unigramPOS.createFeatureListLematized("../../data/trainLematizedWordsMerged.txt", "../../data/unigramTrainLematizedFeature.txt")
# Recreate pos for new train 
unigramPOS.createPOSTrainfile("../../data/trainNewPOSOBJ.txt")
#unigramPOS.createFeatures("../../data/trainLematizedWordsMerged.txt","../../data/unigramTrainLematizedFeature.txt","../../data/unigramTrainLematizedFeature500.csv")
#unigramPOS.createFeatures(    "../../data/testLematizedWords.txt","../../data/unigramTrainLematizedFeature.txt",    "../../data/unigramTestLematizedFeature500.csv")



# PART OF SPEECH 

#unigramPOS.createPOSTrainfile("../../data/trainPOS.txt")
#unigramPOS.createPOSTestfile("../../data/testPOS.txt")

#unigramPOS.createFeatureList("../../data/trainPOS.txt")

#unigramPOS.createFeatures("../../data/trainPOS.txt","../../data/unigramTrainPOS.txt","../../data/unigramTrainPOSFeature450.csv")
#unigramPOS.createFeatures("../../data/testPOS.txt","../../data/unigramTrainPOS.txt","../../data/unigramTestPOSFeature450.csv")
